package cn.stylefeng.guns.modular.system.dao;

import cn.stylefeng.guns.modular.system.entity.CashOut;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * @ClassName AppCashOutMapper
 * @Author lzy
 * @Date 2020/2/7 17:21
 * @VERSION 1.0
 **/
@Repository
public interface AppCashOutMapper extends BaseMapper<CashOut> {
    List<Map<Object, Object>> findList(@Param("startTime") String startTime,
                                       @Param("endTime")String endTime,
                                       @Param("withdrawId")Integer withdrawId,
                                       @Param("status")Integer status,
                                       @Param("userIds")List<String> userIds);

    CashOut findOne(@Param("orderId") Integer orderId);

}
